Optimal. Leaf size=55 \[ \frac {\tanh ^{-1}\left (\sin \left (a+b \log \left (c x^n\right )\right )\right )}{2 b n}+\frac {\tan \left (a+b \log \left (c x^n\right )\right ) \sec \left (a+b \log \left (c x^n\right )\right )}{2 b n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {3768, 3770} \[ \frac {\tanh ^{-1}\left (\sin \left (a+b \log \left (c x^n\right )\right )\right )}{2 b n}+\frac {\tan \left (a+b \log \left (c x^n\right )\right ) \sec \left (a+b \log \left (c x^n\right )\right )}{2 b n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3768
Rule 3770
Rubi steps
\begin {align*} \int \frac {\sec ^3\left (a+b \log \left (c x^n\right )\right )}{x} \, dx &=\frac {\operatorname {Subst}\left (\int \sec ^3(a+b x) \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac {\sec \left (a+b \log \left (c x^n\right )\right ) \tan \left (a+b \log \left (c x^n\right )\right )}{2 b n}+\frac {\operatorname {Subst}\left (\int \sec (a+b x) \, dx,x,\log \left (c x^n\right )\right )}{2 n}\\ &=\frac {\tanh ^{-1}\left (\sin \left (a+b \log \left (c x^n\right )\right )\right )}{2 b n}+\frac {\sec \left (a+b \log \left (c x^n\right )\right ) \tan \left (a+b \log \left (c x^n\right )\right )}{2 b n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 55, normalized size = 1.00 \[ \frac {\tanh ^{-1}\left (\sin \left (a+b \log \left (c x^n\right )\right )\right )}{2 b n}+\frac {\tan \left (a+b \log \left (c x^n\right )\right ) \sec \left (a+b \log \left (c x^n\right )\right )}{2 b n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 3.08, size = 100, normalized size = 1.82 \[ \frac {\cos \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} \log \left (\sin \left (b n \log \relax (x) + b \log \relax (c) + a\right ) + 1\right ) - \cos \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} \log \left (-\sin \left (b n \log \relax (x) + b \log \relax (c) + a\right ) + 1\right ) + 2 \, \sin \left (b n \log \relax (x) + b \log \relax (c) + a\right )}{4 \, b n \cos \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec \left (b \log \left (c x^{n}\right ) + a\right )^{3}}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.11, size = 64, normalized size = 1.16 \[ \frac {\sec \left (a +b \ln \left (c \,x^{n}\right )\right ) \tan \left (a +b \ln \left (c \,x^{n}\right )\right )}{2 b n}+\frac {\ln \left (\sec \left (a +b \ln \left (c \,x^{n}\right )\right )+\tan \left (a +b \ln \left (c \,x^{n}\right )\right )\right )}{2 n b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 6.30, size = 178, normalized size = 3.24 \[ \frac {\ln \left (-\frac {1{}\mathrm {i}}{x}-\frac {{\mathrm {e}}^{a\,1{}\mathrm {i}}\,{\left (c\,x^n\right )}^{b\,1{}\mathrm {i}}}{x}\right )}{2\,b\,n}-\frac {\ln \left (\frac {1{}\mathrm {i}}{x}-\frac {{\mathrm {e}}^{a\,1{}\mathrm {i}}\,{\left (c\,x^n\right )}^{b\,1{}\mathrm {i}}}{x}\right )}{2\,b\,n}+\frac {{\mathrm {e}}^{a\,1{}\mathrm {i}}\,{\left (c\,x^n\right )}^{b\,1{}\mathrm {i}}\,2{}\mathrm {i}}{b\,n\,\left (2\,{\mathrm {e}}^{a\,2{}\mathrm {i}}\,{\left (c\,x^n\right )}^{b\,2{}\mathrm {i}}+{\mathrm {e}}^{a\,4{}\mathrm {i}}\,{\left (c\,x^n\right )}^{b\,4{}\mathrm {i}}+1\right )}-\frac {{\mathrm {e}}^{a\,1{}\mathrm {i}}\,{\left (c\,x^n\right )}^{b\,1{}\mathrm {i}}\,1{}\mathrm {i}}{b\,n\,\left ({\mathrm {e}}^{a\,2{}\mathrm {i}}\,{\left (c\,x^n\right )}^{b\,2{}\mathrm {i}}+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sec ^{3}{\left (a + b \log {\left (c x^{n} \right )} \right )}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________